package com.oig.sys.base.app;

import com.oig.sys.base.dto.CurrRateDto;
import com.oig.sys.base.vo.CurrRateVo;

import java.time.YearMonth;
import java.util.List;

public interface IAppCurrRateService {

    CurrRateVo addTbCurrRate(CurrRateDto currRateDto) ;

    CurrRateVo updateTbCurrRate(CurrRateDto currRateDto) ;

    void delTbCurrRate(Integer id);

    CurrRateVo getCurrRateByCurr(String currency, String type) ;

	List<CurrRateVo> listByCustomsCurrAndYearMonth(List<String> currency, YearMonth yearMonth);

	void startRateSpider();

    /**
     * 新增海关币种汇率
     */
    void saveCustomsRate();

}
